projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4a2dc6
)
(term_get_fkeys): If not initialized, init Vfunction_key_map.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 31 May 1993 20:18:35 +0000
(20:18 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 31 May 1993 20:18:35 +0000
(20:18 +0000)
src/term.c
patch
|
blob
|
history
diff --git
a/src/term.c
b/src/term.c
index e960bd134751143ec4ceacdc9939a446fbd46b72..6d4cba2a10da032c62a3dab5d78decdad6b81149 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-1240,6
+1240,10
@@
term_get_fkeys (address)
extern char *tgetstr ();
int i;
+ /* This can happen if CANNOT_DUMP or with strange options. */
+ if (!initialized)
+ Vfunction_key_map = Fmake_sparse_keymap (Qnil);
+
for (i = 0; i < (sizeof (keys)/sizeof (keys[0])); i++)
{
char *sequence = tgetstr (keys[i].cap, address);